SummaryFieldDefinition Object

The SummaryFieldDefinition Object represents the summary used in a cross-tab, group, or report, or the summary used in a group or cross-tab graph.

SummaryFieldDefinition Object Properties

Property Description Read/Write

Application

Returns a reference to the Application Object, that this object is associated with.

Read only

CrossTabObject

Returns CrossTabObject Object, that contains the summary field. This property is for cross-tab summary fields only; if the summary field is not from a cross-tab you will get an exception.

Read only

FooterArea

Returns Area Object, indicating the Group/Report Footer area of the summary. This property is for group or report summary fields only; if the summary is from a cross-tab you will get an exception when using this property.

Read only

ForCrossTab

Returns Boolean value indicating if summary is used in a cross-tab.

Read only

HeaderArea

Returns Area Object, indicating the Group/Report Header area of the summary. If the summary is from a cross-tab you will get an exception when using this property.

Read only

Kind

Returns CRFieldKind, which specifies what "kind" of field (database, summary, formula, etc.).

Read only


Constant Value


crDatabaseField

1


crFormulaField

2


crGroupNameField

5


crParameterField

6


crSpecialVarField

4


crSummaryField

3

Property Description Read/Write

Name

Returns the name of the summary field for a group or report summary field. Cross-tab summaries do not have a unique name, so an empty string will be returned.

Read only

NumberOf
Bytes

Returns the number of bytes required to store the field data in memory.

Read only

Parent

Reference to the Parent object Report Object.

Read only

Report

Reference to Report Object.

Read only

SummaryType

Returns value of type CRSummaryType (see table below) indicating the type of summary (that is, sum, average, etc.).

Read only


Constant Value


crSTAverage

1


crSTCount

6


crSTDisctintCount

9


crSTMaximum

4


crSTMinimum

5


crSTPopStandardDeviation

8


crSTPopVariance

7


crSTSampleStandardDeviation

3


crSTSampleVariance

2


crSTSum

0

ValueType

Returns CRFieldValueType (see table below), which specifies the "type" of value found in the field.

Read only


Constant Value


crBitmapField

17


crBlobField

15


crBooleanField

9


crChartField

21


crCurrencyField

8


crDateField

10


crDateTimeField

16


crIconField

18


crInt16sField

3


crInt16uField

4


crInt32sField

5


crInt32uField

6


crInt8sField

1


crInt8uField

2


crNumberField

7


crOleField

20


crPersistentMemoField

14


crPictureField

19


crStringField

12


crTimeField

11


crTransientMemoField

13


crUnknownField

22



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com